package com.corechina.apex_osswords.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 系统日志表
 * </p>
 *
 * @author cc
 * @since 2022-03-03
 */
@Getter
@Setter
@TableName("sys_logs")
@ApiModel(value = "SysLogs对象", description = "系统日志表")
public class SysLogs implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("操作人")
    private Integer operator;

    @ApiModelProperty("ip")
    private String ip;

    @ApiModelProperty("操作")
    private String operation;

    @ApiModelProperty("请求")
    private String method;

    @ApiModelProperty("操作前数据")
    private String preData;

    @ApiModelProperty("操作后数据")
    private String afterData;

    @ApiModelProperty("执行时间")
    private String operationTime;

    @ApiModelProperty("创建时间")
    private Date createTime;


}
